	<%@ page language="java" contentType="text/html; charset=UTF-8"
		pageEncoding="UTF-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
	
	
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	
	
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
	<title>Write Article</title>
	<%@include file="/jsp/public/css_includes.jsp"%>
	<link href="/js/uploadify/uploadify.css" rel="stylesheet"
		type="text/css" />
	</head>
	<body>
	<div id="container">
	<%@include file="/jsp/public/header.jsp"%>
	
	
	<div id="sub_container">
	
	<form id="articleForm" action="/portfolio/save/${article.id}" method="post">
	<div class="menubar">
	<ul class="menubarList">
		<li class="menubarListItem">
		<button class="submitButton" type="submit">Guardar</button>
		</li>
	</ul>
	</div>
	<div id="content">
	
	<div id="sub_content"><label class="hiddenLabels" for="inputTitleArticle"></label> 
		<input id="inputTitleArticle" name="titleArticle" type="text" class="required" value="${article.dc.title}"></input>
	</div>
	
	<label class="writeLabels" for="abstractareaArticle">Abstract:
	</label> <textarea id="abstractareaArticle" name="abstractArticle" rows="20" cols="50">${article.dc.description}</textarea>
	

	<label class="writeLabels" for="textareaArticle">Cuerpo de la noticia:</label> 
	<textarea id="textareaArticle" name="cuerpoArticle" rows="50" cols="20"><c:forEach items="${article.textArticleFragments}" var="taf">${taf.description}</c:forEach></textarea> 

	
	<label class="writeLabels" for="textareaFuentes">Fuentes:</label> 
	<textarea id="textareaFuentes" name="fuentesArticle" rows="20" cols="50">${article.dc.source}</textarea> 
	
	<label class="writeLabels" for="sectionArticle">Seccion:</label> 
		<select id="sectionArticle" name ="sectionArticle">
		<option>Actualidad</option>
		<option>Economia</option>
		<option>Deportes</option>
		<option>Espectáculo</option>
		<option>Mundial</option>
		</select> 
		
	
	<div class="menubar">
	<ul class="menubarList">
		<li class="menubarListItem">
		<button class="submitButton" type="submit">Guardar</button>
		</li>
	</ul>
	</div>
	
	</div>
	
	</form>
	</div>
	
	
	<%@include file="/jsp/public/footer.jsp"%> <%@include
		file="/jsp/public/js_includes.jsp"%> <script
		src="/js/uploadify/swfobject.js" type="text/javascript"></script> <script
		src="/js/uploadify/jquery.uploadify.v2.1.0.js" type="text/javascript"></script>
	
	<script type="text/javascript">
					$(document).ready(function(){					
						//arg.showSidebar();
						arg.uploadImages();
						arg.loginDialog();
						arg.countCharacters();
						arg.validator();
						arg.editProfile();
	
					});
				</script></div>
	</body>
	</html>